package com.zhongli.devplatform.service.imp.common;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhongli.devplatform.dto.common.ClazzDTO;
import com.zhongli.devplatform.dto.student.StudentDTO;
import com.zhongli.devplatform.dto.teacher.TransClazzDTO;
import com.zhongli.devplatform.po.common.ReadClazzPO;
import com.zhongli.devplatform.bean.Res;
import com.zhongli.devplatform.query.sys.ClazzQuery;
import com.zhongli.devplatform.vo.common.ClazzVO;

import java.util.List;

/**
 * @author  WuXiCheng
 * @date  2020/7/23 10:12
 * @version 1.0
 */
public interface ReadClazzService extends IService<ReadClazzPO>{

    List<ReadClazzPO> getAllClazzByGrade(Integer currentUserId, Integer id,Integer schoolId);

    Res removeStudent(Integer clazzId,Integer studentId);

    Res<List<ClazzVO>> getCurrentClazzList(Integer gradeId, Integer gradeType);

    Res joinClazz(ClazzDTO clazzDTO);

    Res transClass(TransClazzDTO transClazzDTO);

}
